package com.eqdd.yiqidian.ui.mine.pizhun;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.View;

import com.eqdd.yiqidian.base.BaseShowActivity;
import com.eqdd.yiqidian.base.Config;
import com.eqdd.yiqidian.ui.mine.pizhun.Fragment.CarCheckFragment;

/**
 * @author吕志豪 .
 * @date 17-11-23  下午4:36.
 * Github :https://github.com/lvzhihao100
 * E-Mail：1030753080@qq.com
 * 简书 :http://www.jianshu.com/u/6e525b929aac
 */

public class ShowCarActivity extends BaseShowActivity{
    @Override
    protected void initTitle() {
        initTopTitleBar(View.VISIBLE, "用车审批列表");

    }

    @Override
    protected Fragment getFragment(int i) {
        CarCheckFragment fragment = new CarCheckFragment();
        Bundle bundle = new Bundle();
        bundle.putInt(Config.STATUS, i);
        bundle.putInt(Config.WHO, 1);
        fragment.setArguments(bundle);
        return fragment;
    }

    @Override
    public void initData() {
        titles.add("未审核");
        titles.add("已审核");
    }
}
